package com.o2opay.car.common.pojo;

/**
 * Created by su on 2017/12/28 09:29
 * 619389279@qq.com
 */
public class RecordRequest {
    private String Head;
    private int Length;
    private String Comman;
    private Parameter  paramet;
    private String CheckSum;
    private String End;

    public String getHead() {
        return Head;
    }

    public void setHead(String head) {
        Head = head;
    }

    public int getLength() {
        return Length;
    }

    public void setLength(int length) {
        Length = length;
    }

    public String getComman() {
        return Comman;
    }

    public void setComman(String comman) {
        Comman = comman;
    }

    public Parameter  getParamet() {
        return paramet;
    }

    public void setParamet(Parameter  paramet) {
        this.paramet = paramet;
    }

    public String getCheckSum() {
        return CheckSum;
    }

    public void setCheckSum(String checkSum) {
        CheckSum = checkSum;
    }

    public String getEnd() {
        return End;
    }

    public void setEnd(String end) {
        End = end;
    }

    /**
     * 刷卡数据
     */
    public static class Parameter{
        /**
         * 指令
         */
        private String command;
        /**
         * 序列号
         */
        private String serialnum;
        /**
         * 刷卡时间
         */
        private String swipeTime;
        /**
         * 卡号
         */
        private String cardNo;
        /**
         * 员工号
         */
        private String employee;
        /**
         *  姓名
         */
        private String readName;
        /**
         * 姓名长度
         */
        private String employLength;

        public String getCommand() {
            return command;
        }

        public void setCommand(String command) {
            this.command = command;
        }

        public String getSerialnum() {
            return serialnum;
        }

        public void setSerialnum(String serialnum) {
            this.serialnum = serialnum;
        }

        public String getSwipeTime() {
            return swipeTime;
        }

        public void setSwipeTime(String swipeTime) {
            this.swipeTime = swipeTime;
        }

        public String getCardNo() {
            return cardNo;
        }

        public void setCardNo(String cardNo) {
            this.cardNo = cardNo;
        }

        public String getEmployee() {
            return employee;
        }

        public void setEmployee(String employee) {
            this.employee = employee;
        }

        public String getReadName() {
            return readName;
        }

        public void setReadName(String readName) {
            this.readName = readName;
        }

        public String getEmployLength() {
            return employLength;
        }

        public void setEmployLength(String employLength) {
            this.employLength = employLength;
        }
    }
}
